//index.js
//获取应用实例
const app = getApp()

Page({
	data: {
		showImg:false,
		accordingImgs:[],
		defaultImg:"",
	},
	showBig:function(e){
		this.setData({
			showImg: true,
			defaultImg:e.target.dataset.name,
		})
	},
	hideBig:function(){
		this.setData({
			showImg: false
		})
	},
	onLoad: function() {
		let _this = this;
		wx.getStorage({
		 	key: 'customerInfo',
		  	success: function(res) {
		      	_this.setData({
					accordingImgs: res.data.accordingImgs.split(","),
				})
		  	} 
		})
	}
})